package com.panda.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("验证码信息")
public class RegisterVo {
    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名为必填项")
    private String username;
    @ApiModelProperty("用户密码")
    @NotBlank(message = "密码为必填项")
    private String passwordHash;
    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码为必填项")
    private String  captchaCode ;
    @ApiModelProperty("验证码ID")
    private String captchaId;
}
